const { app, BrowserWindow} = require('electron')
const path = require('path')

let window;
app.whenReady().then(() => {
    window = new BrowserWindow({width: 800, height: 600, titleBarStyle: 'hiddenInset'})
    window.loadFile(path.join(__dirname,'../renderer/index.html'))
    window.webContents.openDevTools()
})
